package com.aizhixin.lab.company.repository;

import com.aizhixin.lab.company.entity.Professional;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

public interface ProfessionalRepository extends JpaRepository<Professional, Long> {
	
	public List<Professional> findAllByCollegeIdAndDeleteFlagOrderById(Long collegeId, Integer deleteFlag);

	public List<Professional> findAllByDeleteFlagOrderById(Integer deleteFlag);
//	List<Professional> f
	public Professional findOneByIdAndDeleteFlag(Long id, Integer deleteFlag);
}
